home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-05
/
userdef.zip
/
LETTER.TXT
< prev
next >
Wrap
Text File
|
1991-07-11
|
2KB
|
34 lines
Greetings,
I wrote a little utility to help me manage student labs which I would like
pass on to you. The purpose of this utility, in short, is to set environment
variables and execute certain DOS commands depending upon the machines
hardware address. The name of the utility is USERDEF.
Setting up the software in a 30 station lab is no easy task, especially if
you have to tweek each station's "autoexec.bat" file. So I configure one
machine with the software needed and set the "autoexec.bat" to logon to the
fileserver and run USERDEF to read a configuration file from the server. I
then make a backup of the hard drive and transfer it to all the other
stations. Then I edit the configuration file on the fileserver to make each
machine have a unique station number and set the printer queues to print a
banner with the number on it. Now when a machine needs to be restored I
can use the backup file on every station and it will always have the correct
station number.
My program is very simple in design but I put in an interface for parsing
command line arguments and the configuration text. There is a subroutine
that determines the hardware address which, in my case, looks for any Western
Digital Ethernet card. You will have to add your own checks for other types
of Network cards if you don't have all Western Digitals.
I am not concerned with copywriting this software, in fact I encourage any
modifications to make it better and more powerful but please send me any
changes or additions you make to be included in another release.
Thank you,
Matthew Mills | Email millsm@csus.edu
Technical Lab Assistant | phone (916) 278-7202
University Computing & Communications Services|
California State University Sacramento |
6000 J Street |
Sacramento Ca 95819-6065 |